const fs= require('fs');

var rds=fs.createReadStream('input.txt');
var wrs=fs.createWriteStream('data.txt');

rds.pipe(wrs);
console.log('程序执行完毕！');